package com.qfedu.openplateform.manager.dao;

import com.qfedu.openplateform.manager.entity.Customer;
import com.qfedu.openplateform.manager.entity.Role;

import java.util.List;

public interface CustomerMapper {

    /**
     * 查询所有客户
     * @return
     */
    List<Customer> findAllCustomer(Customer customer);

    /**
     * 添加客户
     * @param customer
     */
    void addCustomer(Customer customer);

    /**
     * 修改客户信息
     * @param customer
     */
    void updateCustomer(Customer customer);

    /**
     * 删除客户信息
     * @param id
     */
    void deleteCustomer(Integer id);

    /**
     * 查询客户名
     * @return
     */
    List<Customer> findAllCustomerUser ();

}
